\hypertarget{classcommon}{}\section{common Class Reference}
\label{classcommon}\index{common@{common}}


{\ttfamily \#include $<$common.\+hpp$>$}

\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static std\+::string \hyperlink{classcommon_a7ca2338596041e14a38de0f63d1c1e31}{\+\_\+\+\_\+print\+Class\+Name} (const std\+::string \&\&obj\+\_\+name)
\item 
\hypertarget{classcommon_aa84197a1f03508da476a68d11fe139d5}{}static std\+::string {\bfseries print\+Class\+Name\+From\+Str} (const std\+::string \&\&str)\label{classcommon_aa84197a1f03508da476a68d11fe139d5}

\item 
{\footnotesize template$<$class K $>$ }\\static std\+::string \hyperlink{classcommon_aec4b942352abd180c71fca2c0dbd70b7}{print\+Class\+Name} (K \&k)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{common_8hpp_source}{common.\+hpp} -\/ static helper functions of various types \begin{DoxyAuthor}{Author}
\+: Jonathan Beard 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
\+: Sun May 10 19\+:10\+:06 2015
\end{DoxyVersion}
Copyright 2015 Jonathan Beard

Licensed under the Apache License, Version 2.\+0 (the \char`\"{}\+License\char`\"{}); you may not use this file except in compliance with the License. You may obtain a copy of the License at\+:

\href{http://www.apache.org/licenses/LICENSE-2.0}{\tt http\+://www.\+apache.\+org/licenses/\+L\+I\+C\+E\+N\+S\+E-\/2.\+0}

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \char`\"{}\+A\+S I\+S\char`\"{} B\+A\+S\+I\+S, W\+I\+T\+H\+O\+U\+T W\+A\+R\+R\+A\+N\+T\+I\+E\+S O\+R C\+O\+N\+D\+I\+T\+I\+O\+N\+S O\+F A\+N\+Y K\+I\+N\+D, either express or implied. See the License for the specific language governing permissions and limitations under the License. 

\subsection{Member Function Documentation}
\hypertarget{classcommon_a7ca2338596041e14a38de0f63d1c1e31}{}\index{common@{common}!\+\_\+\+\_\+print\+Class\+Name@{\+\_\+\+\_\+print\+Class\+Name}}
\index{\+\_\+\+\_\+print\+Class\+Name@{\+\_\+\+\_\+print\+Class\+Name}!common@{common}}
\subsubsection[{\+\_\+\+\_\+print\+Class\+Name(const std\+::string \&\&obj\+\_\+name)}]{\setlength{\rightskip}{0pt plus 5cm}std\+::string common\+::\+\_\+\+\_\+print\+Class\+Name (
\begin{DoxyParamCaption}
\item[{const std\+::string \&\&}]{obj\+\_\+name}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}\label{classcommon_a7ca2338596041e14a38de0f63d1c1e31}
\+\_\+\+\_\+print\+Class\+Name -\/ helper function for below function, basically see the more complete docs below for the delta, the string passed to this function should be the name of the class from either the typeinfo or typeid( xx ).name() call. user must delete this, make string then delete

one good case \hypertarget{classcommon_aec4b942352abd180c71fca2c0dbd70b7}{}\index{common@{common}!print\+Class\+Name@{print\+Class\+Name}}
\index{print\+Class\+Name@{print\+Class\+Name}!common@{common}}
\subsubsection[{print\+Class\+Name(\+K \&k)}]{\setlength{\rightskip}{0pt plus 5cm}template$<$class K $>$ static std\+::string common\+::print\+Class\+Name (
\begin{DoxyParamCaption}
\item[{K \&}]{k}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}\label{classcommon_aec4b942352abd180c71fca2c0dbd70b7}
pring\+Class\+Name -\/ takes in a class reference and prints the class name using cxx-\/demangle. I basically got tired of typing all the error checking code over and over so here\textquotesingle{}s a simplified interface for it. 
\begin{DoxyParams}{Parameters}
{\em k} & -\/ Class reference for which you want the class. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
std\+::string 
\end{DoxyReturn}


The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
common.\+hpp\item 
common.\+cpp\end{DoxyCompactItemize}
